#define  _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

#include<vector>

#include "priority_queue.h"

void test_Priority_Queue()
{
	//lsg::Priority_Queue<int,vector<int>,Less<int>> pq;
	lsg::Priority_Queue<int,vector<int>,Greater<int>> pq;
	pq.push(1);
	pq.push(7);
	pq.push(4);
	pq.push(2);
	pq.push(8);
	pq.push(2);

	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	cout << endl;
}

int main()
{
	test_Priority_Queue();

	return 0;
}